package com.fbs.wowo.util.common;

import org.springframework.beans.factory.annotation.Value;

//@Component
public class Const {

    private String URL;
    private String OssEndpointPublic;
    private String OssEndpointPrivate;
    private String OssAccessKeyId;
    private String OssAccessKeySecret;
    private String OssBucketName;

    private String EosUrl;
    private String EosCreator;
    private String EosCreatorPriKey;
    private String EosChainId;
    private String EosMongodbHost;
    private String EosMongodbDbname;

    private String AccessKeyId;
    private String AccessKeySecret;

    private String SmsSignName;
    private String SmsTemplateCode;

    private String RCAppKey;
    private String RCAppSecret;

    @Value("${xidata.URL}")
    public void setURL(String URL) {
        this.URL = URL;
    }
    @Value("${Oss.endpointPublic}")
    public void setOssEndpointPublic(String ossEndpointPublic) {
        this.OssEndpointPublic = ossEndpointPublic;
    }
    @Value("${Oss.endpointPrivate}")
    public void setOssEndpointPrivate(String ossEndpointPrivate) {
        this.OssEndpointPrivate = ossEndpointPrivate;
    }
    @Value("${Oss.accessKeyId}")
    public void setOssAccessKeyId(String ossAccessKeyId) {
        this.OssAccessKeyId = ossAccessKeyId;
    }
    @Value("${Oss.accessKeySecret}")
    public void setOssAccessKeySecret(String ossAccessKeySecret) {
        this.OssAccessKeySecret = ossAccessKeySecret;
    }
    @Value("${Oss.bucketName}")
    public void setOssBucketName(String ossBucketName) {
        this.OssBucketName = ossBucketName;
    }
    @Value("${eos.EOS_URL}")
    public void setEosUrl(String eosUrl) {
        this.EosUrl = eosUrl;
    }
    @Value("${eos.CREATOR}")
    public void setEosCreator(String eosCreator) {
        this.EosCreator = eosCreator;
    }
    @Value("${eos.CHAIN_ID}")
    public void setEosChainId(String eosChainId) {
        this.EosChainId = eosChainId;
    }
    @Value("${eos.CREATOR_PRI_KEY}")
    public void setEosCreatorPriKey(String eosCreatorPriKey) {
        this.EosCreatorPriKey = eosCreatorPriKey;
    }
    @Value("${eos.EOS_MONGODB_HOST}")
    public void setEosMongodbHost(String eosMongodbHost) {
        this.EosMongodbHost = eosMongodbHost;
    }
    @Value("${eos.EOS_MONGODB_DBNAME}")
    public void setEosMongodbDbname(String eosMongodbDbname) {
        this.EosMongodbDbname = eosMongodbDbname;
    }
    @Value("${sms.AccessKeyId}")
    public void setAccessKeyId(String accessKeyId) {
        this.AccessKeyId = accessKeyId;
    }
    @Value("${sms.AccessKeySecret}")
    public void setAccessKeySecret(String accessKeySecret) {
        this.AccessKeySecret = accessKeySecret;
    }
    @Value("${sms.SignName}")
    public void setSmsSignName(String smsSignName) {
        this.SmsSignName = smsSignName;
    }
    @Value("${sms.TemplateCode}")
    public void setSmsTemplateCode(String smsTemplateCode) {
        this.SmsTemplateCode = smsTemplateCode;
    }
    @Value("${rc.AppKey}")
    public void setRCAppKey(String RCAppKey) {
        this.RCAppKey = RCAppKey;
    }
    @Value("${rc.AppSecret}")
    public void setRCAppSecret(String RCAppSecret) {
        this.RCAppSecret = RCAppSecret;
    }

    public String getURL() {
        return URL;
    }
    public String getOssEndpointPublic() {
        return OssEndpointPublic;
    }
    public String getOssEndpointPrivate() {
        return OssEndpointPrivate;
    }

    public String getOssAccessKeyId() {
        return OssAccessKeyId;
    }

    public String getOssAccessKeySecret() {
        return OssAccessKeySecret;
    }

    public String getOssBucketName() {
        return OssBucketName;
    }

    public String getEosUrl() {
        return EosUrl;
    }

    public String getEosCreator() {
        return EosCreator;
    }

    public String getEosCreatorPriKey() {
        return EosCreatorPriKey;
    }

    public String getEosChainId() {
        return EosChainId;
    }

    public String getEosMongodbHost() {
        return EosMongodbHost;
    }

    public String getEosMongodbDbname() {
        return EosMongodbDbname;
    }

    public String getAccessKeyId() {
        return AccessKeyId;
    }

    public String getAccessKeySecret() {
        return AccessKeySecret;
    }

    public String getSmsSignName() {
        return SmsSignName;
    }

    public String getSmsTemplateCode() {
        return SmsTemplateCode;
    }

    public String getRCAppKey() {
        return RCAppKey;
    }

    public String getRCAppSecret() {
        return RCAppSecret;
    }

}
